<?php
namespace BP\Sys;

use BP\En\EntitiesOID;

class GEDtls extends EntitiesOID {
	public $FK_MapDtl;	// String
	private function __init() { // default class members
		$this->FK_MapDtl = NULL;
	}
	public function getNewEntity () 
	{
		if (($this->FK_MapDtl == NULL))
		{
			return GEDtl::constructor__();
		}
		return GEDtl::constructor__String($this->FK_MapDtl);
	}
	public static function constructor__ () 
	{
		$me = new self();
		$me->__init();
		return $me;
	}
	public static function constructor__String ($fk_mapdtl) // [String fk_mapdtl]
	{
		$me = new self();
		$me->__init();
		$me->FK_MapDtl = $fk_mapdtl;
		return $me;
	}
	public function ToJavaList () 
	{
		return $this;
	}
	public function Tolist () 
	{
		$list = [];// 
		for ($i = 0; ($i < $this->size()); ++$i) 
		{
			$list->add($this->get($i));
		}
		return $list;
	}
}
?>
